//
//  ShareHelper.h
//  WanCaiC8
//
//  Created by tangang on 2018/5/4.
//  Copyright © 2018年 tangang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WXApi.h"
#import "NewsContentModel.h"
#import <TencentOpenAPI/TencentOAuth.h>
#import <TencentOpenAPI/QQApiInterface.h>
#import <TencentOpenAPI/QQApiInterfaceObject.h>
@interface ShareHelper : NSObject<TencentSessionDelegate,QQApiInterfaceDelegate>

@property (nonatomic ,copy) NSString  *url;


+ (instancetype)share;

///邀请注册   0 好友  1 朋友圈
+ (void)shareWithInvitationRegister:(NSInteger)type andDict:(NSDictionary *)dict;

///资讯分享
+ (void)shareWithInfomation:(NSInteger)type andTitle:(NewsContentModel *)content;

///分享成功后掉一次
- (void)shareDone;

@end
